improvement(emails): align transactional emails with the platform neutral design system#5309
Conversation
…tral design system Re-skin all ~25 transactional email templates to match the platform/newsletter: - Color tokens in _styles/base.ts now mirror globals.css light mode (#fefefe canvas, #1a1a1a text, #525252/#5c5c5c/#707070 greys, #dedede border) instead of the old lavender + green (#33C482) scheme; accent defaults to neutral #1a1a1a but still honors a whitelabel primaryColor. - Primary CTA now matches the platform's primary Chip (inverse #1a1a1a fill, white text, rounded-lg, text-sm, normal weight); links carry an underline since the neutral color no longer signals a link. - Card uses 8px radius + hairline border; info/code boxes use a subtle token fill. - Logo is the dark, text-only 'sim' wordmark (green icon removed). - Footer: LinkedIn replaces Discord. - Every template routes through the centralized colors tokens — zero hardcoded hex (payment-failed error box tokenized to platform error surface values).
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview
Footer swaps the Discord social link for LinkedIn ( Reviewed by Cursor Bugbot for commit ac80f3c. Configure here. |
Greptile SummaryThis PR refreshes the transactional email design to match the platform style. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "improvement(emails): use Season Sans to ..." | Re-trigger Greptile |
- Canvas goes to #f8f8f8 (off Andres's newsletter) so the white card reads via contrast in clients that flatten inline borders, not the border alone (Greptile P2). - Logo pins exact 70x34 only for the bundled wordmark; whitelabel brand.logoUrl now constrains by height with auto width so custom logos keep their aspect (Greptile P1).
…form Register the Season Sans web font (the woff2 shipped with the newsletter, #5302) via react-email's <Font> in the layout head, and lead the email font stack with 'Season Sans' (system stack still the fallback for clients that ignore @font-face).
|
@greptile review |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit ac80f3c. Configure here.
Summary
_styles/base.tsglobals.csslight mode:#fefefecanvas,#1a1a1atext,#525252/#5c5c5c/#707070greys,#dededeborder — replacing the old lavender + green (#33C482) scheme. Accent defaults to neutral#1a1a1abut still honors a whitelabelprimaryColor#1a1a1afill, white text,rounded-lg(8px),text-sm, normal weight. Links carry an underline (neutral color no longer signals a link)#dededeborder; info/code boxes use a subtle token fillsimwordmark (green icon removed)linkedin-icon.png)colorstokens — zero hardcoded hex; the payment-failed error box is tokenized to the platform error-surface valuesType of Change
Testing
biome checkclean; grep audit confirms no hardcoded hex remains in templatesprimaryColorwhen setChecklist